package com.mst.service;

import com.mst.domain.Book;

import java.util.List;

public interface IBookService {
    int addBook(Book book);

    int deleteBook(int id);

    int updateBook(Book book);

    Book getBookById(int id);

    List<Book> getAllBook(Book book);

    List<Book> getAllBookPage(Book book, int pageNum, int pageSize);
}
